home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5211 < prev    next >
Encoding:
Text File  |  1996-08-06  |  743 b   |  34 lines

  1. Path: point005.burn.rhein-ruhr.de!wusel
  2. Date: 01 Feb 1996 00:00:00 +0000
  3. From: wusel@point005.burn.rhein-ruhr.de (Robert Hannebauer)
  4. Newsgroups: comp.lang.c++
  5. Message-ID: <620AVxT3seB@point005.burn.rhein-ruhr.de>
  6. References: <4em5fs$a86@ixnews4.ix.netcom.com>
  7. Subject: Re: READ THIS!!!!!!!!!!!
  8. X-Newsreader: testmailer 1/43 R/A8113
  9.  
  10. Hallo ....
  11.  
  12. >   ok....now that I have your attention i need some help.
  13. > I can't get the following command to work & the compiler says that the
  14. > constant has too many characters.
  15. >
  16. >   char dos;
  17. >     if(dos=='dir')
  18. >     goto b;
  19. > How can i do this to get it to work? please help,I know you can.
  20.  
  21. Ok. Try this...
  22.  
  23.    char *dos;
  24.    if (strcmp (dos, "dir")
  25.       goto b;
  26.  
  27.    ....
  28.    b:
  29.    ;
  30.  
  31. Ciaoo,
  32.    Robert
  33.  
  34.